﻿@{
        Layout = null;
  }

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>四海茶馆</title>
<link rel="stylesheet" type="text/css" href="/images/style.css" />
<link rel="stylesheet" type="text/css" href="/images/index.css" />
    <script src="/Scripts/jquery/base/jquery-1.9.1.min.js" type="text/javascript"></script>
</head>

<body>
<div id="cps">
    <div id="main">
        <div class="right">
        	<div class="ro1">
             @{
                 if (ViewData["name"] == null)
                 {
                 <script src="/Scripts/angular/base/angular.min.js" type="text/javascript"></script>
                 <!--[if (IE 6)|(IE 7)]><script type="text/javascript" src="/Scripts/angular/base/json2.js"></script><![endif]-->
                 <script src="/Scripts/angular/js/newlogin.js" type="text/javascript"></script>
                  <iframe id="sbiframe" name="sbiframe"  style=" display:none " frameborder="0"scrolling="no" ></iframe>
                  <form name="form" on-submit="submit()" onsubmit="return false;" ng-controller="Ctrl" ng-init="load({
                            name:{msg:'由6~16位位字母或数字组成,不区分大小写', pattern: '帐号格式错误!',error:'账号长度为6-16位字符',success:true},
                            password:{msg:'密码长度应为6-14个字符',pattern: '密码格式错误!!',error:'密码长度应为6-14个字符',success:true},
                            verifyvalue: { msg:'请输入图片显示的数字或字母',error: '请正确填写验证码',success:true},
                            submit:{error:'系统异常，请联系我们',verifycode:'验证码错误',account:'对不起，您输入的账号或密码有误',identity:'服务器繁忙，请稍后再试'}
                        });
                        submit.url='/account/login/r/Default';
                        ">
                        <div id="login_yzm" style="display:none;z-index:999;" ng-show="error">
            	            <p>
                                <span class="error" ng-show="name.error" style="display:none">{{name.error}}</span>
                                <span class="error" ng-show="password.error" style="display:none">{{password.error}}</span>
                                <span class="error" ng-show="verifyvalue.error" style="display:none">{{verifyvalue.error}}</span>
                                <span class="error" ng-show="submit.error" style="display:none">{{submit.error}}</span>
                            </p>
                            <p><input type="text" class="text70" ng-model="verifyvalue.value"/><img ng-src="{{verifycode.value}}" ng-click="verifycode.newdefault()" alt="验证码" ><a ng-click="verifycode.newdefault()" href="#verify" >看不清楚，换一张</a></p>
                        </div>
                        <div class="d1">友为登录快速通道</div>
                        <div class="d2">
                	            <div class="co1">
                    	            <p>
                                    <input class="text185" name="name" ng-model="name.value" ng-pattern="name.pattern" required/>
                                    </p>
                                    <p>
                                    <input class="text185" type="password" name="password" @*onfocus="$('#login_yzm').show();"*@  ng-model="password.value" ng-pattern="password.pattern" required />
                                    </p>
                                    <input type="hidden" name="verifyvalue" ng-model="verifyvalue.value" ng-pattern="verifyvalue.pattern" required/>
                                </div>
                                <div class="co2">
                    	            <input type="submit" value="" class="login" />
                                </div>
                            </div>
                        <div class="d3">
                	            <img src="/images/images/xyhzc.jpg" />&nbsp;&nbsp;&nbsp; <img src="/images/images/zhmm.jpg" />
                        </div>
                  </form>
                 <script type="text/javascript" src="/Scripts/angular/base/angular.autoload.js"></script>
                 }
                 else
                 {
                    <script type="text/javascript">
                        top.location.href = "/account/myinfo";
                    </script>
                 }
             }
</div>
            
            
            
        </div>
    </div>
    
</div><!--#end cps-->
</body>
</html>

@*
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="/css/newlogin/shared.css"/>
<link rel="stylesheet" type="text/css" href="/css/newlogin/index/index.css"/>
</head>
<body>
<div class="ctitle">
          <img src="/images/tlogin.jpg" alt="" />
      </div>
 	<div id="regform" class="form formb bor1" style=" padding-left:10px; margin-top:-1px;">
<div id="tag"  class="img">
   @{
       if (ViewData["name"] == null)
        {
        <text>
          <script type="text/javascript" src="/Scripts/angular/base/angular.js"></script>
          <!--[if (IE 6)|(IE 7)]><script type="text/javascript" src="/Scripts/angular/base/json2.js"></script><![endif]-->
          <script type="text/javascript" src="/script/newlogin.js"></script>
          <iframe id="sbiframe" name="sbiframe"  style=" display:none " frameborder="0"scrolling="no" ></iframe>
          <div ng-controller="Ctrl">
          <form name="form" on-submit="submit()" onsubmit="return false;">
            <div class="forminput">
              <p><input class="formaccount inputwh" name="name" ng-model="name.value" ng-pattern="name.pattern" required/></p>
              <p><input class="inputwh" type="password" name="password" ng-model="password.value" ng-pattern="password.pattern" required /></p>
              <input type="hidden" name="verifyvalue" ng-model="verifyvalue.value" ng-pattern="verifyvalue.pattern" required/>
            </div>
          <div class="regster" >
            <input class="formbtn" value="" type="submit"/>
          </div>
          <div class="clearsim"></div>
          <div class="btndiv">
              <span>
                   <a href="http://user.chcgame.com/usercenter/Normal" target="top">
                    <img src="/images/newreg.jpg"  alt="">
                    </a>
                    <a href="http://user.chcgame.com/usercenter/Step1" target="top" style="margin-left: 5px;">
                    <img src="/images/赤橙新官网首页-2012.8.2_27.gif" alt="">
                    </a>
             </span>
          </div>
          <div >
              <div class="verify" style="display:none;z-index:100;">
              	<span></span>
          </div>
          <div class="clearsim"></div>       
          <div id="verify" class="verify" style="display:none;z-index:999;" ng-show="isVerify">
				<div class="">{{msg}}</div>
					<div class="cap_box_new">
					    <input type="text" class="verfinput" ng-model="verifyvalue.value"/>
                        <img ng-click="newverifycode()" ng-src="{{verifycode}}" alt="验证码"  height="24" width="60" class="verify_img" >
						<a ng-click="newverifycode()" href="#verify"  style="float:left; margin-left:10px;">看不清？</a>
					</div>
            </div>
            <div class="clearsim"></div>
            </div>
          </form>
          </div>
        <script type="text/javascript" src="/Scripts/angular/base/angular.autoload.js"></script>
        </text>
    }
    else
    {
        <text>
           
 
		<div>
         <img align="left"  src="/images/赤橙新官网首页-登录后-2012.8_03.gif"  alt=""/>
		<div>
	  <div class="loginr">
            	<span class="loginname"> @ViewData["name"] </span>
                <a class="logout" href="/account/logout?callback=http://www.chcgame.com/" target="_self">注销</a>
                <div class="clearsim" style="clear:right"></div>
            </div>
          <div class="loginr"><a href="http://user.chcgame.com/user/containsuser" target="top" style="COLOR:#DC0000">点此填写账号保护资料</a></div>
        </div>
        <div class="clearsim"></div>
    </div>
    <div >
    	<span>
        	<a class="loginbtn apointer" href="http://user.chcgame.com/account/modifypasswordview" target="top" style="color:#646464">修改密码</a>
            <a class="loginbtn apointer" href="http://user.chcgame.com/account/myinfo" target="top" style="color:#646464">账号中心</a>
            <a class="loginbtn apointer" href="#" style="color:#646464">客服中心</a>
    		<a class="loginbtn apointer" href="http://user.chcgame.com/recharge/step1" target="top" style="color:#646464">充值中心</a>
          </span>
    </div>
    <div class="clearsim"></div>
     <div class="btndiv">
      <span>
           <a href="http://user.chcgame.com" target="top">
            <img src="/images/newreg.jpg"  alt="">
            </a>
            <a href="http://user.chcgame.com/usercenter/Step1" target="top" style="margin-left: 5px;">
            <img src="/images/赤橙新官网首页-2012.8.2_27.gif"  alt="">
            </a>
     </span>
     </div>
        </text>
    } 
}
</div>

</div>
<div class="clearsim"></div>
<script type="text/javascript" src="/script/auto/mark.js"></script>
</body>
</html>
*@
